p
  = link_to '新建', new_picture_path , class: 'btn btn-info btn-xs font-style', remote: true
div.show-form
table.table.table-inverse.table-striped.table-bordered.table-hover
  thead
    tr
      th ID
      th 名称
      th 图片
      td 操作
  tbody
    - @pictures.each do |picture|
      tr
        td = picture.id
        td = picture.name
        td 
          img style="width: 30px;height: 30px;" src="#{picture.image.url}"
        td = link_to '删除', picture , method: :delete
        
                
